package club.baibin0558.jstudy.core.repertory;

import club.baibin0558.jstudy.core.po.JStudyNode;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 学习类型持久层
 *
 * @author 白彬
 */
public interface JStudyNodeRepository extends MongoRepository<JStudyNode, Long> {
    List<JStudyNode> findAllByParentCodeEquals(String parentCode);
}
